home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
- SoundsAF.js
-
- Encarta Virtual Globe 1999
-
- (c) Copyright Microsoft Corporation 1998
-
- Populates the sound table for Africa. The sound table is comprised
- of a Lat,Long location where the sound is associated with, and an index
- number into the Audio Man control which has the path to the actual sound
- file. See FlightSounds.xls for the table of sound file and Lat,Long
- matchings.
-
- Also includes fusion related variables declarations and functions
- because the number of fusion nodes vary between Fly files.
-
- This file is to be included by FlyAfr.htm
-
- Owner = WHsu
- *****************************************************************************/
- var g_numFusionSrcNodes = 13;
- var g_FusionSrcNodes = new Array(g_numFusionSrcNodes); // node object for Fusion URLWav
- var g_fFusionSrcNodeLoaded = new Array(g_numFusionSrcNodes); // if set, node loaded
-
- function LoadFusionMedia()
- {
- var i;
- for ( i=0; i < g_numFusionSrcNodes; i++ )
- {
- g_fFusionSrcNodeLoaded[i] = false;
- }
- g_FusionSrcNodes[0] = MediaGraph.Nodes("FusionSrcA");
- g_FusionSrcNodes[1] = MediaGraph.Nodes("FusionSrcB");
- g_FusionSrcNodes[2] = MediaGraph.Nodes("FusionSrcC");
- g_FusionSrcNodes[3] = MediaGraph.Nodes("FusionSrcD");
- g_FusionSrcNodes[4] = MediaGraph.Nodes("FusionSrcE");
- g_FusionSrcNodes[5] = MediaGraph.Nodes("FusionSrcF");
- g_FusionSrcNodes[6] = MediaGraph.Nodes("FusionSrcG");
- g_FusionSrcNodes[7] = MediaGraph.Nodes("FusionSrcH");
- g_FusionSrcNodes[8] = MediaGraph.Nodes("FusionSrcI");
- g_FusionSrcNodes[9] = MediaGraph.Nodes("FusionSrcJ");
- g_FusionSrcNodes[10] = MediaGraph.Nodes("FusionSrcK");
- g_FusionSrcNodes[11] = MediaGraph.Nodes("FusionSrcL");
- g_FusionSrcNodes[12] = MediaGraph.Nodes("FusionSrcM");
-
- MediaGraph.Nodes("FusionSrcA").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcB").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcC").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcD").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcE").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcF").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcG").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcH").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcI").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcJ").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcK").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcL").LoadMedia(false);
- MediaGraph.Nodes("FusionSrcM").LoadMedia(false);
- }
-
-
- g_SoundTable[g_Continent_AF] = new Array(48);
-
- g_SoundTable[g_Continent_AF][0] = new Array(3);
- g_SoundTable[g_Continent_AF][1] = new Array(3);
- g_SoundTable[g_Continent_AF][2] = new Array(3);
- g_SoundTable[g_Continent_AF][3] = new Array(3);
- g_SoundTable[g_Continent_AF][4] = new Array(3);
- g_SoundTable[g_Continent_AF][5] = new Array(3);
- g_SoundTable[g_Continent_AF][6] = new Array(3);
- g_SoundTable[g_Continent_AF][7] = new Array(3);
- g_SoundTable[g_Continent_AF][8] = new Array(3);
- g_SoundTable[g_Continent_AF][9] = new Array(3);
- g_SoundTable[g_Continent_AF][10] = new Array(3);
- g_SoundTable[g_Continent_AF][11] = new Array(3);
- g_SoundTable[g_Continent_AF][12] = new Array(3);
- g_SoundTable[g_Continent_AF][13] = new Array(3);
- g_SoundTable[g_Continent_AF][14] = new Array(3);
- g_SoundTable[g_Continent_AF][15] = new Array(3);
- g_SoundTable[g_Continent_AF][16] = new Array(3);
- g_SoundTable[g_Continent_AF][17] = new Array(3);
- g_SoundTable[g_Continent_AF][18] = new Array(3);
- g_SoundTable[g_Continent_AF][19] = new Array(3);
- g_SoundTable[g_Continent_AF][20] = new Array(3);
- g_SoundTable[g_Continent_AF][21] = new Array(3);
- g_SoundTable[g_Continent_AF][22] = new Array(3);
- g_SoundTable[g_Continent_AF][23] = new Array(3);
- g_SoundTable[g_Continent_AF][24] = new Array(3);
- g_SoundTable[g_Continent_AF][25] = new Array(3);
- g_SoundTable[g_Continent_AF][26] = new Array(3);
- g_SoundTable[g_Continent_AF][27] = new Array(3);
- g_SoundTable[g_Continent_AF][28] = new Array(3);
- g_SoundTable[g_Continent_AF][29] = new Array(3);
- g_SoundTable[g_Continent_AF][30] = new Array(3);
- g_SoundTable[g_Continent_AF][31] = new Array(3);
- g_SoundTable[g_Continent_AF][32] = new Array(3);
- g_SoundTable[g_Continent_AF][33] = new Array(3);
- g_SoundTable[g_Continent_AF][34] = new Array(3);
- g_SoundTable[g_Continent_AF][35] = new Array(3);
- g_SoundTable[g_Continent_AF][36] = new Array(3);
- g_SoundTable[g_Continent_AF][37] = new Array(3);
- g_SoundTable[g_Continent_AF][38] = new Array(3);
- g_SoundTable[g_Continent_AF][39] = new Array(3);
- g_SoundTable[g_Continent_AF][40] = new Array(3);
- g_SoundTable[g_Continent_AF][41] = new Array(3);
- g_SoundTable[g_Continent_AF][42] = new Array(3);
- g_SoundTable[g_Continent_AF][43] = new Array(3);
- g_SoundTable[g_Continent_AF][44] = new Array(3);
- g_SoundTable[g_Continent_AF][45] = new Array(3);
- g_SoundTable[g_Continent_AF][46] = new Array(3);
- g_SoundTable[g_Continent_AF][47] = new Array(3);
-
- g_SoundTable[g_Continent_AF][0][g_indexLat] = 27;
- g_SoundTable[g_Continent_AF][0][g_indexLong] = 4;
- g_SoundTable[g_Continent_AF][0][g_indexSound] = 1; // F172379A 27 4 172379 Algeria (+)
-
- g_SoundTable[g_Continent_AF][1][g_indexLat] = -22;
- g_SoundTable[g_Continent_AF][1][g_indexLong] = 24;
- g_SoundTable[g_Continent_AF][1][g_indexSound] = 2; // F172402A -22 24 172402 Botswana
-
- g_SoundTable[g_Continent_AF][2][g_indexLat] = 12;
- g_SoundTable[g_Continent_AF][2][g_indexLong] = -2;
- g_SoundTable[g_Continent_AF][2][g_indexSound] = 3; // F172410A 12 -2 172410 Burkina Faso
-
- g_SoundTable[g_Continent_AF][3][g_indexLat] = 4;
- g_SoundTable[g_Continent_AF][3][g_indexLong] = 13;
- g_SoundTable[g_Continent_AF][3][g_indexSound] = 4; // F172417A 4 13 172417 Cameroon
-
- g_SoundTable[g_Continent_AF][4][g_indexLat] = 16;
- g_SoundTable[g_Continent_AF][4][g_indexLong] = 24;
- g_SoundTable[g_Continent_AF][4][g_indexSound] = 5; // F172420A 16 24 172420 Cape Verde
-
- g_SoundTable[g_Continent_AF][5][g_indexLat] = 27;
- g_SoundTable[g_Continent_AF][5][g_indexLong] = 29;
- g_SoundTable[g_Continent_AF][5][g_indexSound] = 6; // F172437A 27 29 172437 Egypt (+)
-
- g_SoundTable[g_Continent_AF][6][g_indexLat] = 9;
- g_SoundTable[g_Continent_AF][6][g_indexLong] = 40;
- g_SoundTable[g_Continent_AF][6][g_indexSound] = 7; // F172441A 9 40 172441 Ethiopia- (+)
-
- g_SoundTable[g_Continent_AF][7][g_indexLat] = 8;
- g_SoundTable[g_Continent_AF][7][g_indexLong] = -2;
- g_SoundTable[g_Continent_AF][7][g_indexSound] = 8; // F172453A 8 -2 172453 Ghana
-
- g_SoundTable[g_Continent_AF][8][g_indexLat] = 33;
- g_SoundTable[g_Continent_AF][8][g_indexLong] = 55;
- g_SoundTable[g_Continent_AF][8][g_indexSound] = 9; // F172479A 33 55 172479 Iran (++)
-
- g_SoundTable[g_Continent_AF][9][g_indexLat] = 33;
- g_SoundTable[g_Continent_AF][9][g_indexLong] = 55;
- g_SoundTable[g_Continent_AF][9][g_indexSound] = 10; // F172480A 33 55 172480 Iran (++)
-
- g_SoundTable[g_Continent_AF][10][g_indexLat] = 7;
- g_SoundTable[g_Continent_AF][10][g_indexLong] = -6;
- g_SoundTable[g_Continent_AF][10][g_indexSound] = 11; // F172487A 7 -6 172487 Ivory Coast
-
- g_SoundTable[g_Continent_AF][11][g_indexLat] = 32;
- g_SoundTable[g_Continent_AF][11][g_indexLong] = 36;
- g_SoundTable[g_Continent_AF][11][g_indexSound] = 12; // F172494A 32 36 172494 Jordan (+)
-
- g_SoundTable[g_Continent_AF][12][g_indexLat] = 1;
- g_SoundTable[g_Continent_AF][12][g_indexLong] = 43;
- g_SoundTable[g_Continent_AF][12][g_indexSound] = 13; // F172495A 1 43 172495 Kenya
-
- g_SoundTable[g_Continent_AF][13][g_indexLat] = -19;
- g_SoundTable[g_Continent_AF][13][g_indexLong] = 46;
- g_SoundTable[g_Continent_AF][13][g_indexSound] = 14; // F172504A -19 46 172504 Madagascar
-
- g_SoundTable[g_Continent_AF][14][g_indexLat] = -13;
- g_SoundTable[g_Continent_AF][14][g_indexLong] = 34;
- g_SoundTable[g_Continent_AF][14][g_indexSound] = 15; // F172507A -13 34 172507 Malawi
-
- g_SoundTable[g_Continent_AF][15][g_indexLat] = 15;
- g_SoundTable[g_Continent_AF][15][g_indexLong] = -3;
- g_SoundTable[g_Continent_AF][15][g_indexSound] = 16; // F172509A 15 -3 172509 Mali
-
- g_SoundTable[g_Continent_AF][16][g_indexLat] = 15;
- g_SoundTable[g_Continent_AF][16][g_indexLong] = -3;
- g_SoundTable[g_Continent_AF][16][g_indexSound] = 17; // F172510A 15 -3 172510 Mali
-
- g_SoundTable[g_Continent_AF][17][g_indexLat] = 19;
- g_SoundTable[g_Continent_AF][17][g_indexLong] = -10;
- g_SoundTable[g_Continent_AF][17][g_indexSound] = 18; // F172514A 19 -10 172514 Mauritania
-
- g_SoundTable[g_Continent_AF][18][g_indexLat] = 32;
- g_SoundTable[g_Continent_AF][18][g_indexLong] = -6;
- g_SoundTable[g_Continent_AF][18][g_indexSound] = 19; // F172520A 32 -6 172520 Morocco (+)
-
- g_SoundTable[g_Continent_AF][19][g_indexLat] = 9;
- g_SoundTable[g_Continent_AF][19][g_indexLong] = 7;
- g_SoundTable[g_Continent_AF][19][g_indexSound] = 20; // F172530A 9 7 172530 Nigeria
-
- g_SoundTable[g_Continent_AF][20][g_indexLat] = 20;
- g_SoundTable[g_Continent_AF][20][g_indexLong] = 57;
- g_SoundTable[g_Continent_AF][20][g_indexSound] = 21; // F172533A 20 57 172533 Oman (+)
-
- g_SoundTable[g_Continent_AF][21][g_indexLat] = -2;
- g_SoundTable[g_Continent_AF][21][g_indexLong] = 30;
- g_SoundTable[g_Continent_AF][21][g_indexSound] = 22; // F172553A -2 30 172553 Rwanda
-
- g_SoundTable[g_Continent_AF][22][g_indexLat] = 14;
- g_SoundTable[g_Continent_AF][22][g_indexLong] = 15;
- g_SoundTable[g_Continent_AF][22][g_indexSound] = 23; // F172557A 14 15 172557 Senegal
-
- g_SoundTable[g_Continent_AF][23][g_indexLat] = -30;
- g_SoundTable[g_Continent_AF][23][g_indexLong] = 25;
- g_SoundTable[g_Continent_AF][23][g_indexSound] = 24; // F172563A -30 25 172563 South Africa
-
- g_SoundTable[g_Continent_AF][24][g_indexLat] = -30;
- g_SoundTable[g_Continent_AF][24][g_indexLong] = 25;
- g_SoundTable[g_Continent_AF][24][g_indexSound] = 25; // F172565A -30 25 172565 South Africa
-
- g_SoundTable[g_Continent_AF][25][g_indexLat] = 41;
- g_SoundTable[g_Continent_AF][25][g_indexLong] = -3;
- g_SoundTable[g_Continent_AF][25][g_indexSound] = 26; // F172566A 41 -3 172566 Spain (+)
-
- g_SoundTable[g_Continent_AF][26][g_indexLat] = 41;
- g_SoundTable[g_Continent_AF][26][g_indexLong] = -3;
- g_SoundTable[g_Continent_AF][26][g_indexSound] = 27; // F172569A 41 -3 172569 Spain (+)
-
- g_SoundTable[g_Continent_AF][27][g_indexLat] = 14;
- g_SoundTable[g_Continent_AF][27][g_indexLong] = 29;
- g_SoundTable[g_Continent_AF][27][g_indexSound] = 28; // F172573A 14 29 172573 Sudan (+)
-
- g_SoundTable[g_Continent_AF][28][g_indexLat] = 35;
- g_SoundTable[g_Continent_AF][28][g_indexLong] = 38;
- g_SoundTable[g_Continent_AF][28][g_indexSound] = 29; // F172577A 35 38 172577 Syria (++)
-
- g_SoundTable[g_Continent_AF][29][g_indexLat] = -7;
- g_SoundTable[g_Continent_AF][29][g_indexLong] = 35;
- g_SoundTable[g_Continent_AF][29][g_indexSound] = 30; // F172581A -7 35 172581 Tanzania
-
- g_SoundTable[g_Continent_AF][30][g_indexLat] = -7;
- g_SoundTable[g_Continent_AF][30][g_indexLong] = 35;
- g_SoundTable[g_Continent_AF][30][g_indexSound] = 31; // F172582A -7 35 172582 Tanzania
-
- g_SoundTable[g_Continent_AF][31][g_indexLat] = 34;
- g_SoundTable[g_Continent_AF][31][g_indexLong] = 9;
- g_SoundTable[g_Continent_AF][31][g_indexSound] = 32; // F172587A 34 9 172587 Tunisia (+)
-
- g_SoundTable[g_Continent_AF][32][g_indexLat] = 2;
- g_SoundTable[g_Continent_AF][32][g_indexLong] = 32;
- g_SoundTable[g_Continent_AF][32][g_indexSound] = 33; // F172593A 2 32 172593 Uganda
-
- g_SoundTable[g_Continent_AF][33][g_indexLat] = -2;
- g_SoundTable[g_Continent_AF][33][g_indexLong] = 15;
- g_SoundTable[g_Continent_AF][33][g_indexSound] = 34; // F172610A -2 15 172610 Congo
-
- g_SoundTable[g_Continent_AF][34][g_indexLat] = -19;
- g_SoundTable[g_Continent_AF][34][g_indexLong] = 30;
- g_SoundTable[g_Continent_AF][34][g_indexSound] = 35; // F172614A -19 30 172614 Zimbabwe
-
- g_SoundTable[g_Continent_AF][35][g_indexLat] = -1;
- g_SoundTable[g_Continent_AF][35][g_indexLong] = 15;
- g_SoundTable[g_Continent_AF][35][g_indexSound] = 36; // F172934A -1 15 172934 Congo
-
- g_SoundTable[g_Continent_AF][36][g_indexLat] = 9;
- g_SoundTable[g_Continent_AF][36][g_indexLong] = 2;
- g_SoundTable[g_Continent_AF][36][g_indexSound] = 37; // F172937A 9 2 172937 Benin
-
- g_SoundTable[g_Continent_AF][37][g_indexLat] = 35;
- g_SoundTable[g_Continent_AF][37][g_indexLong] = 33;
- g_SoundTable[g_Continent_AF][37][g_indexSound] = 38; // F172943A 35 33 172943 Cyprus (++)
-
- g_SoundTable[g_Continent_AF][38][g_indexLat] = 12;
- g_SoundTable[g_Continent_AF][38][g_indexLong] = -15;
- g_SoundTable[g_Continent_AF][38][g_indexSound] = 39; // F172945A 12 -15 172945 Guinea Bissau
-
- g_SoundTable[g_Continent_AF][39][g_indexLat] = 5;
- g_SoundTable[g_Continent_AF][39][g_indexLong] = 45;
- g_SoundTable[g_Continent_AF][39][g_indexSound] = 40; // F172947A 5 45 172947 Somalia (+)
-
- g_SoundTable[g_Continent_AF][40][g_indexLat] = 32;
- g_SoundTable[g_Continent_AF][40][g_indexLong] = 35;
- g_SoundTable[g_Continent_AF][40][g_indexSound] = 41; // F172955A 32 35 172955 Israel (++)
-
- g_SoundTable[g_Continent_AF][41][g_indexLat] = 32;
- g_SoundTable[g_Continent_AF][41][g_indexLong] = 35;
- g_SoundTable[g_Continent_AF][41][g_indexSound] = 42; // F172956A 32 35 172956(e) Israel (++)
-
- g_SoundTable[g_Continent_AF][42][g_indexLat] = 33;
- g_SoundTable[g_Continent_AF][42][g_indexLong] = 36;
- g_SoundTable[g_Continent_AF][42][g_indexSound] = 43; // F172968A 33 36 172968 Lebanon (++)
-
- g_SoundTable[g_Continent_AF][43][g_indexLat] = 25;
- g_SoundTable[g_Continent_AF][43][g_indexLong] = 45;
- g_SoundTable[g_Continent_AF][43][g_indexSound] = 44; // F172975A 25 45 172975 Saudi Arabia (+)
-
- g_SoundTable[g_Continent_AF][44][g_indexLat] = -22;
- g_SoundTable[g_Continent_AF][44][g_indexLong] = 24;
- g_SoundTable[g_Continent_AF][44][g_indexSound] = 45; // F174186A -22 24 174186 Botswana
-
- g_SoundTable[g_Continent_AF][45][g_indexLat] = -22;
- g_SoundTable[g_Continent_AF][45][g_indexLong] = 17;
- g_SoundTable[g_Continent_AF][45][g_indexSound] = 46; // F178866A -22 17 178866 Namibia
-
- g_SoundTable[g_Continent_AF][46][g_indexLat] = -21;
- g_SoundTable[g_Continent_AF][46][g_indexLong] = 58;
- g_SoundTable[g_Continent_AF][46][g_indexSound] = 47; // F548799A -21 58 548799 Mauritius
-
- g_SoundTable[g_Continent_AF][47][g_indexLat] = 27;
- g_SoundTable[g_Continent_AF][47][g_indexLong] = 29;
- g_SoundTable[g_Continent_AF][47][g_indexSound] = 48; // F557109A 27 29 557109 Egypt (+)
-
-
-
-